package com.weipai.demo.mapper;


import com.weipai.demo.model.DImgBase;
import com.weipai.demo.model.bo.ImgBO;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface ImgMapper {

    List<ImgBO> searchImg(@Param("businessCode") String businessCode, @Param("productType") Integer productType
            , @Param("imgType") Integer imgType);

    void upImage(List<DImgBase> list);

    void upImageUrl(List<ImgBO> list);
    List<Integer> searceImgBaseId(List<Integer> list);
    int  deleteByIdImgBase(List<Integer> list);
    int  deleteByCodeImgbusiness(String businesscode);

}